<div id="{$sJsDiv|default:'jsErr'}">
{if $aErrors}
  <b>{$sBlockTitle}</b><br/>
{/if}

<ol> 
{foreach from=$_aMessages item=aMessage}
  <li><span class="message_{$aMessage.type}">{$aMessage.text}</span></li>
{/foreach}
{foreach from=$aErrors item=sError}
  <li><span class="message_error">{$sError}</span></li>
{/foreach}
</ol>
</div>
<br/>